namespace Zaggit.Core
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    
    public interface ICrypto
    {
        /// <summary>
        /// Encrypts the specified value.
        /// </summary>
        /// <param name="value">The value.</param>
        /// <param name="key">The key.</param>
        /// <param name="iv">The iv.</param>
        /// <returns></returns>
        byte[] Encrypt(byte[] value);

        /// <summary>
        /// Decrypts the specified value.
        /// </summary>
        /// <param name="value">The value.</param>
        /// <param name="key">The key.</param>
        /// <param name="iv">The iv.</param>
        /// <returns></returns>
        byte[] Decrypt(byte[] value);
    }
}
